﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace TinyMoocSite.Models
{
    /// <summary>
    /// 用户基本数据表
    /// </summary>
    public class UserInfo
    {
        [Key]
        public string Username { get; set; }

        public string EncryptedPassword { get; set; }

        public UserPrivilege Privilege { get; set; }

        public string LicenseId { get; set; }

        public string FullName { get; set; }

        public DateTime RegisterDate { get; set; }

        public DateTime LastActivityDate { get; set; }

        public string Email { get; set; }

        public string Website { get; set; }

        public string ProfTitle { get; set; }

        public string Memo { get; set; }

        public List<CourseInfo> FollowedCourseList { get; set; }

        public List<HomeworkHistory> HomeworkHistoryList { get; set; }
    }
}